package org.simple.learning.spring.boot.service.adapter.impl;

import org.simple.learning.spring.boot.service.adapter.FoodAdapter;
import org.springframework.stereotype.Component;

/**
 * 项目名称：spring-boot-learning
 * 类名称：AppleAdapter
 * 类描述：AppleAdapter
 * 创建时间：2022/11/9
 *
 * @author jiangjunjie   (E-mail:jiangjunjie@foursmile001.com)
 * @version v1.0
 */
@Component
public class AppleAdapter extends FoodAdapter {
    @Override
    public Long getTypeId() {
        return 1L;
    }

    @Override
    public String getName() {
        return "苹果";
    }

}
